<?php
/**
 * Author: ChenGuangHui
 * Email：13035809409@163.com
 * Date Time: 2022/04/13 11:00
 */

namespace App\Models;

use App\Models\Model;

/**
 * App\Models\CouponRule
 *
 * @property int $id
 * @property int|null $rule_type 规则类型:1针对商品2针对类目
 * @property int|null $ref_id 关联id
 * @property string|null $ref_desc 关联描述:如商品，类目
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 修改时间
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule query()
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule whereRefDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule whereRefId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule whereRuleType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CouponRule whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class CouponRule extends Model
{
    
    protected $connection = 'store';

    protected $table = 'store_coupon_rule';

    protected $primaryKey = 'id';
    
    protected $guarded = [];
}
